table of contents
MEMFLUSH(1) | libmemcached-awesome | MEMFLUSH(1) |
NAME¶
memflush - libmemcached Documentation
SYNOPSIS¶
memflush [options]
Reset a server or list of servers
DESCRIPTION¶
memflush resets the contents of memcached(1) servers.
WARNING:
OPTIONS¶
- --help
- Display help.
- --version
- Display version.
- --quiet
- Operate quietly.
- --verbose
- Operate more verbosely.
- --debug
- See --verbose.
- --servers <list of servers>
- Specify the list of servers as hostname[:port][,hostname[:port]...].
- --binary
- Enable binary protocol.
- --username <username>
- Use username for SASL authentication.
- --password <password>
- Use password for SASL authentication.
- --expire <expiration>
- Use expiration seconds (or a UNIX timestamp).
NOTE:
Quoting the memcached protocol documentation, it states:
The most precise definition of what flush_all does is the following: it causes all items whose update time is earlier than the time at which flush_all was set to be executed to be ignored for retrieval purposes.
The intent of flush_all with a delay, was that in a setting where you have a pool of memcached servers, and you need to flush all content, you have the option of not resetting all memcached servers at the same time (which could e.g. cause a spike in database load with all clients suddenly needing to recreate content that would otherwise have been found in the memcached daemon).
ENVIRONMENT¶
- MEMCACHED_SERVERS
- Specify the list of servers.
SEE ALSO¶
- /libmemcached
- /libmemcached/memcached_flush
November 12, 2021 | 1.1 |